#ifndef TRANSACTIONVIEWREPORTSDIALOG_H
#define TRANSACTIONVIEWREPORTSDIALOG_H

#include <QtGui>
#include "gui/collapsiblewidget.h"
#include "gui/shinylist.h"

class TransactionViewReportsDialog : public QDialog
{
    Q_OBJECT
public:
    explicit TransactionViewReportsDialog(QWidget *parent = 0);

signals:

public slots:

private:
    void initUiComponents();
    void initSignalsAndSlots();
    void generateUnpaidTransactionsReport();
    void generateUndeliveredTransactionsReport();

    QVBoxLayout *mainLayout;
    QLabel *headerLabel;
    QLabel *subHeaderLabel;

    CollapsibleWidget *unpaidReport;
    ShinyList *unpaidList;
    CollapsibleWidget *waitingOnStocksReport;
    ShinyList *waitingOnStocksList;

    QDialogButtonBox *buttonBox;
};

#endif // TRANSACTIONVIEWREPORTSDIALOG_H
